package com.akuhome.resource.DO.need;

import com.akuhome.resource.enums.NeedStatus;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

public class FoodNeed implements Need<FoodNeedDetail>{
    Integer id;
    List<FoodNeedDetail> detailList;
    String detail;
    NeedStatus needStatus;
    Timestamp createTime;
    Timestamp updateTime;
    String projectUid;

    public FoodNeed() {
        this.detail = "";
        this.detailList = new ArrayList<>();
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public NeedStatus getNeedStatus() {
        return needStatus;
    }

    public void setNeedStatus(NeedStatus needStatus) {
        this.needStatus = needStatus;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public String getProjectUid() {
        return projectUid;
    }

    public void setProjectUid(String projectUid) {
        this.projectUid = projectUid;
    }

    public List<FoodNeedDetail> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<FoodNeedDetail> detailList) {
        this.detailList = detailList;
    }
}
